package cn.laixueit.dao;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Repository;

@Repository
public class UserDao {

    @Autowired
    private JdbcTemplate jdbcTemplate;


    public void save(){
        jdbcTemplate.execute("insert into user(user_name,address) values('哈哈','呵呵')");
    }

}
